package cn.calm.xhtml.impl.ui;

import cn.calm.xhtml.annotation.Tag;
import cn.calm.xhtml.api.exception.XhtmlException;
import cn.calm.xhtml.api.service.AbstraceNodeProcess;
import cn.calm.xhtml.api.service.ResponseWriter;
import cn.calm.xhtml.api.service.XhtmlContext;
import cn.calm.xhtml.util.ValueUtil;
@Tag(namespace = "http://www.calm.cn/xhtml/extras/ui", attributes = {
		})
public class TextNode extends AbstraceNodeProcess {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Override
	public void processNode(XhtmlContext context) throws XhtmlException {
		ResponseWriter responseWriter = context.getResponseWriter();
		responseWriter.write(ValueUtil.getValue(getContent(), context));
	}

}
